package com.hysoft.common.dto;

import io.swagger.v3.oas.annotations.media.Schema;

@Schema(name = "表格查询参数", description = "表格查询参数")
public class GridParams<P> {
    @Schema(required = true, description = "当前展示的页码")
    private Integer pageIndex;
    @Schema(required = true, description = "每页展示的条数")
    private Integer pageSize;
    @Schema(description = "查询具体参数")
    private P params;

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public P getParams() {
        return params;
    }

    public void setParams(P params) {
        this.params = params;
    }
}
